<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体图标练习</title>
    <style>
        /* 字体声明 */
        @font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?83bg3p');
  src:  url('fonts/icomoon.eot?83bg3p#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?83bg3p') format('truetype'),
    url('fonts/icomoon.woff?83bg3p') format('woff'),
    url('fonts/icomoon.svg?83bg3p#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

span{
      font-family: 'icomoon';
      color: pink;
      font-size: 50px;
}
    </style>
</head>
<body>
    <span></span>
    <span></span>
</body>
</html>